class CreateRooms < ActiveRecord::Migration
  def self.up
    create_table :rooms do |t|
      t.column :name, :string, :limit =>128
    end
    Room.create! :name => 'Salle principale'
  end

  def self.down
    drop_table :rooms
  end
end
